package main
import (
	"fmt"
)

func sum(n1,n2 float32) float32{
	// 默认n1 type = float32
	return n1 + n2
}
func main(){
	fmt.Println("sum=",sum(1,2)) //3
}